From: Carlos Garnacho Date: Wed, 16 Nov 2022 12:26:44 +0000 (+0100) Subject: keyboard: Ensure completion is disabled when OSK is destroyed X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~405^2^2~264 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a33e3eaf22664597499dbd3fdee9b7d9ba80d28f;p=gnome-shell.git keyboard: Ensure completion is disabled when OSK is destroyed If the OSK is destroyed while visible without being close()'d first, the completion mode might remain turned on. Ensure it is turned off on OSK destruction so that typing-booster has no chance to remain turned on. Part-of: --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 78c024524..b3c4cbe32 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1388,6 +1388,8 @@ var Keyboard = GObject.registerClass({ this._languagePopup.destroy(); this._languagePopup = null; } + + IBusManager.getIBusManager().setCompletionEnabled(false, () => Main.inputMethod.update()); } _setupKeyboard() {